.notification-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.notification-item {
    cursor: pointer;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
}

.notification-item:last-child {
    border-bottom: none;
    margin-top: 5px;
    margin-bottom: 5px;
}

.status-icon {
    font-size: 20px;
    position: relative;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: red; /* 红色背景 */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.status-icon .count {
    font-size: 12px; /* 数字大小 */
    font-weight: bold;
}

.status-icon.read {
    background-color: transparent; /* 已读状态去除背景色 */
    color: #4CAF50; /* 绿色 */
}

.status-icon.read .count {
    display: none; /* 隐藏数字 */
}

.time-icon {
    display: flex;
    align-items: center;
}

.notice-time {
    cursor: pointer;
    color: darkgrey;
    margin-right: 30px;
}

.notice-user {
    font-weight: bolder;
    margin-right: 15px
}

.notice-type {
    margin-left: 5px;
    font-weight: bold;
    font-size: 15px;
    color: #1750EB;
}

.notice-content {
    font-size: 15px;
    color: gray;
    margin-left: 10px;

    max-width: 200px; /* 限制宽度 */
    white-space: nowrap; /* 防止换行 */
    overflow: hidden; /* 裁剪超出部分 */
    text-overflow: ellipsis; /* 显示省略号 */
}
.notice-container{
    display: flex; /* 使用 flex 布局 */
    align-items: center; /* 垂直居中对齐 */
}
.toggle-btn {
    cursor: pointer;
    font-weight: bold;
    margin-right: 10px;
}